package mvp.com.bbc.rcjavaretrofitdaggermvp.app.contact;

import java.util.List;

import io.reactivex.Observable;
import mvp.com.bbc.rcjavaretrofitdaggermvp.bean.InfoBean;

/**
 * Created by ${cbf} on 2017/11/24.
 */

public interface InfoContact {
    public interface InfoMode {
        public Observable<List<InfoBean>> infoMode(String type, String page, String limit);

        public Observable<List<InfoBean>> infoMyQAMode(String type, String page, String limit, String userid);
    }

    public interface InfoView {
        public void infoView(List<InfoBean> infoBeen);
    }

    public interface InfoPresenter {
        public void infoPresenter(String type, String page, String limit);

        public void InfoMyQAPresenter(String type, String page, String limit, String userid);
    }

    public interface InfoAddMode {
        public Observable<String> infoAddMode(String userid, String content);
    }

    public interface InfoAddView {
        public void infoAddView(String s);
    }

    public interface InfoAddPresenter {
        public void infoAddPresenter(String userid, String content);
    }

    public interface QueryReplyView {
        public void queryReplyView(String s);
    }

    public interface QueryReplyModel {
        public Observable<String> queryReplyModel(String id);
    }

    public interface QueryReplyPresenter {
        public void queryReplyPresenter(String id);
    }
}
